function reports_yearmonth(year, month, order){
    checklogin();
    //alert(year);
    var url = "reports/do_reports_yearmonth";
    $("#the_content").html('');
    $("#the_waiting").html('<img src = "../images/spinner.gif" />');
    $.post(url, {
        year:year,
        month:month,
        order:order
    }, function(data) {
        $("#the_waiting").html('');
        $("#the_content").html(data).fadeIn();
    }, "html");
}

function reports_items(year){
    checklogin();
    //alert(year);
    var url =  "reports/do_reports_items";
    $("#the_content").html('');
    $("#the_waiting").html('<img src = "../images/spinner.gif" />');
    $.post(url, {
        year:year
    }, function(data) {
        $("#the_waiting").html('');
        $("#the_content").html(data).fadeIn();
    }, "html");
}

